<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<?php if( ztmao( 'ztmao_favicon', '' ) ) { ?>
	<link rel="shortcut icon" href="<?php echo ztmao( 'ztmao_favicon', '' ); ?>" type="image/x-icon" >
	<?php }else{ ?>
	<link rel="Shortcut Icon" href="<?php bloginfo('template_url');?>/img/favicon.ico" type="image/x-icon" />
<?php }?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="<?php bloginfo('template_directory'); ?>/fonts/iconfont.css" type="text/css" rel="stylesheet"/>
<link href="<?php bloginfo('template_directory'); ?>/fonts/font-awesome.min.css" type="text/css" rel="stylesheet"/>
<link href="<?php bloginfo('template_directory'); ?>/css/common_mobile.css" type="text/css" rel="stylesheet"/>
<link href="<?php bloginfo('template_directory'); ?>/css/swiper.min.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.min.js"></script><!--主jquery-->
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/swiper.min.js"></script><!--幻灯片js-->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div class="search-box " id="search-box">
	<i class="icon icon-search-close js-show-search-box"></i>
	<div class="search-content overlay-dialog-animate">
		<div class="search-input">
			<form role="search" method="get" action="<?php echo get_option('home'); ?>" onsubmit="return checkinput()">
				<button type="submit"></button>
				<input placeholder="请输入关键字，按回车键搜索" name="s" id="search-input">
				<input id="search-input" type="hidden">
			</form>
		</div>
		<div class="search-history search-hot">
			<span>热搜词</span>
			<ul>
				<?php if(function_exists('wp_nav_menu')) wp_nav_menu(array('container' => false, 'items_wrap' => '%3$s', 'theme_location' => 'search-nav')); ?>
			</ul>
		</div>
	</div>
</div>
<div id="main"  class="<?php if(is_single()){echo 'single_page';} ?>">
<div class="index-container">
<!-- <header id="top_header">	
	<div class="top_bar">
		<div class="abs_m">
			<a href="<?php bloginfo('url'); ?>" class="refresh_title btn"><img src="<?php echo ztmao('ztmao_logo'); ?>" style="width: 100%;"/></a>
			<div class="refreshBtn-container "><i class="refresh_btn"></i></div>
		</div>
		<div class="abs_l">
			<a href="javascript:;" class="msg-box"><div class="circle"></div></a>
		</div>
		<div class="abs_r">
			
		</div>
	</div>
</header> -->
<div class="top_menu_bar">	
	<ul class="top_menu_list">
	<?php if(function_exists('wp_nav_menu') && has_nav_menu('left-sidebar') ) {wp_nav_menu(array('container' => false, 'items_wrap' => '%3$s', 'theme_location' => 'left-sidebar'));}
	 ?>	
	 <?php if(function_exists('wp_nav_menu') && has_nav_menu('more-nav') ) {wp_nav_menu(array('container' => false, 'items_wrap' => '%3$s', 'theme_location' => 'more-nav'));} ?>
	</ul>
</div>